package top.toptimus.dto.saleStyle;

import lombok.Data;
import lombok.NoArgsConstructor;
import top.toptimus.dto.accessory.StyleAccessoryDTO;
import top.toptimus.dto.material.materialMaintain.SaleCreateFabricIndexDTO;

import java.util.List;

/**
 * 货号信息
 */
@Data
@NoArgsConstructor
public class SaleInventoryInfoDTO {
    private SaleCreateFabricIndexDTO saleCreateFabricIndexDTO;  //  面料信息
    private List<StyleAccessoryDTO> styleAccessoryDTOS;   //  辅料清单
    //  设计点定义，完全按照订单走   TODO    图和AI图
    private String stockInventoryNo;
    private Double salePrice;

    public SaleInventoryInfoDTO(
            SaleCreateFabricIndexDTO saleCreateFabricIndexDTO,
            List<StyleAccessoryDTO> styleAccessoryDTOS,
            String stockInventoryNo
    ) {
        this.saleCreateFabricIndexDTO = saleCreateFabricIndexDTO;
        this.styleAccessoryDTOS = styleAccessoryDTOS;
        this.stockInventoryNo = stockInventoryNo;
    }

    public SaleInventoryInfoDTO(
            SaleCreateFabricIndexDTO saleCreateFabricIndexDTO,
            List<StyleAccessoryDTO> styleAccessoryDTOS,
            String stockInventoryNo,
            Double salePrice
    ) {
        this.saleCreateFabricIndexDTO = saleCreateFabricIndexDTO;
        this.styleAccessoryDTOS = styleAccessoryDTOS;
        this.stockInventoryNo = stockInventoryNo;
        this.salePrice = salePrice;
    }
}
